package buildcode.language.java.type;

import buildcode.language.Field;
import buildcode.language.MetaDataType;
import buildcode.util.CommonUtil;

public class JavaType<T extends Field, M> extends MetaDataType<T, M> {

    public JavaType(String name, String packagePath) {
        super(name, packagePath);
    }

    public String getClassFullPath() {
        return getPackagePath() + "." + getTypeName();
    }

    public String getUseName() {
        return CommonUtil.firstLower(getTypeName());
    }

}
